package cn.lyf.myblog.mybatis.mappers;

import java.util.List;

import cn.lyf.myblog.mybatis.entity.Comments;

public interface CommentsMapper {
    int insertComments(Comments comment);

    int deleteComments(int cid);

    /* List<> selectByPcid */

    List<Comments> selectCommentsByBid(int bid, int limit, int offset);
    Comments selectCommentsByCid(int cid);
}
